package tech.aistar.model.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Result {
    private Code code;

    private String msg;

    private Object data;

    public Result(Code code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
